﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AuthTemplate.Infrastructure.AutoMapper
{
    public static class MappingConfiguration
    {
        public static void InitializeMapper()
        {
            Mapper.Initialize(cfg =>
            {
                cfg.AddProfile(typeof(Profiles.UserProfile));

                cfg.AddProfile(typeof(Profiles.ModuleProfile));

                cfg.AddProfile(typeof(Profiles.RelevanceProfile));
            });

        }
    }
}
